package org.reyton.service;

import org.reyton.entity.BizClaimVoucher;
import org.reyton.entity.BizClaimVoucherDetail;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 报销单明细服务接口
 * Created by reyton on 16-12-2.
 */
public interface BizClaimVoucherDetailService {
    /***
     * 保存报销单明细
     * @param bizClaimVoucherDetail 报销单明细实体
     */
    void saveDetail(BizClaimVoucherDetail bizClaimVoucherDetail);

    /***
     * 根据报销单查询明细集合
     * @param bizClaimVoucher 报销单实体
     * @return 明细集合
     */
    List<BizClaimVoucherDetail> findDetails(BizClaimVoucher bizClaimVoucher);

    /**
     * 删除报销单明细
     * @param bizClaimVoucherDetail 报销单明细实体
     */
    void deleteDetails(BizClaimVoucherDetail bizClaimVoucherDetail);

    /***
     * 修改报销单明细
     * @param bizClaimVoucherDetail 报销单明细实体
     */
    void editDetails(BizClaimVoucherDetail bizClaimVoucherDetail);
}
